package com.wangp.javase.object_oop.person;

/**
 * <p>
 * 第一行简要描述.
 * </p>
 *
 * @author wangping
 * @since 2024-12-15
 */
public class Person {
    String name;
    Integer age;
    char gender;
    public void  eat(){

        System.out.println("吃饭");
    }
    public void  sleep(Integer hour){

        System.out.println("人一天要睡："+hour);
    }
    public void  interest(String hobby){

        System.out.println("我的爱好是："+hobby);
    }

}
